package com.travel.model.dto.user;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
//用户资料dto 用户名 邮箱 头像 状态
@Data
@Schema(description = "User Profile Data Transfer Object")
public class UserProfileDTO {
    @Schema(description = "Username", example = "john_doe")
    @NotBlank(message = "用户名不能为空")
    private String username;

    @Schema(description = "Email address", example = "john@example.com")
    @Email(message = "邮箱格式不正确")
    @NotBlank(message = "邮箱不能为空")
    private String email;

    @Schema(description = "Phone number", example = "+86 12345678901")
    private String phone;

    @Schema(description = "Avatar URL", example = "http://example.com/avatar.jpg")
    private String avatar;

    @Schema(description = "User bio", example = "Travel enthusiast and photographer")
    private String bio;
} 